﻿@model IEnumerable<Model.coldfeng_posts>
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

      <div id="focusslide" class="carousel slide" data-ride="carousel">
                    <ol class="carousel-indicators">
                        <li data-target="#focusslide" data-slide-to="0" class="active"></li>
                    </ol>
                    <div class="carousel-inner" role="listbox">
                        <div class="item active"><a target="_blank" href="http://www.coldfeng.com/207.html">
                            <img src="http://www.daqianduan.com/wp-content/uploads/2014/11/hs-xiu.jpg"></a></div>
                    </div>
                    <a class="left carousel-control" href="#focusslide" role="button" data-slide="prev"><i class="fa fa-angle-left"></i></a><a class="right carousel-control" href="#focusslide" role="button" data-slide="next"><i class="fa fa-angle-right"></i></a></div>
                <article class="excerpt-minic excerpt-minic-index">
                    <h2><a target="_blank" class="red" href="#">【今日推荐】</a> <a href="http://www.coldfeng.com/242.html" title="MVC4教程上传下载文件-冷风网">MVC4教程上传下载文件</a></h2>
                    <p class="note">该网盘系统就是ASP.NET MVC4写的。 直接， 第一布 下载插件uploadify， uploadify 3.2 文件上传的基本实现 使用了 12 个参数 uploader: 服务器端接收上传文件的地址 swf：用来实现客户端支持的  […]</p>
                </article>
                <div class="title">
                    <h3>最新发布							</h3>
                    <div class="more"><a href="http://www.coldfeng.com">冷风网</a><a href="http://weibo.com/icoldfeng">官方微博</a><a href="http://free.coldfeng.com">免费空间</a><a href="http://host.coldfeng">香港主机</a></div>
                </div>
                        @foreach(var item in Model){
                <article class="excerpt excerpt-1"><a target="_blank" class="focus" href="../article/details/@item.ID">
                    <img data-src="@item.post_image" class="thumb" src="@item.post_image" style="display: inline;"></a>
                    <header><a class="cat" href="../article/details/@item.ID">MVC4<i></i></a>
                        <h2><a target="_blank" href="/article/details/@item.ID" title="@item.post_title -冷风网">@item.post_title</a></h2>
                    </header>                                             
                    <p class="meta"><time><i class="fa fa-clock-o"></i>2015-05-14</time><span class="author"><i class="fa fa-user"></i><a href="../author/list/@item.post_authorId">@item.post_nickname</a></span><span class="pv"><i class="fa fa-eye"></i>阅读(@item.post_hits)</span><a class="pc" href="http://www.coldfeng.com/242.html#comments"><i class="fa fa-comments-o"></i>评论(0)</a></p>
                    <p class="note">@item.post_content</p>
                </article>  }
           